Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 2, 2025

Bumps the mui group with 2 updates: @mui/icons-material and @mui/material.

Updates @mui/icons-material from 7.1.2 to 7.2.0

Release notes

Sourced from @​mui/icons-material's releases.

v7.2.0

A big thanks to the 17 contributors who made this release possible. Here are the highlights ✨:

  • ⚡️ Added modularCssLayers theme option for splitting styles into multiple CSS layers (#46001) @​siriwatknp.
  • 📖 Added example for using Material UI with React Router v7 (#46406) @​siriwatknp.

@mui/[email protected]

@mui/[email protected]

@mui/[email protected]

@mui/[email protected]

Docs

Core

... (truncated)

Changelog

Sourced from @​mui/icons-material's changelog.

7.2.0

Jun 26, 2025

A big thanks to the 17 contributors who made this release possible. Here are the highlights ✨:

  • ⚡️ Added modularCssLayers theme option for splitting styles into multiple CSS layers (#46001) @​siriwatknp.
  • 📖 Added example for using Material UI with React Router v7 (#46406) @​siriwatknp.

@mui/[email protected]

@mui/[email protected]

@mui/[email protected]

@mui/[email protected]

Docs

Core

... (truncated)

Commits

Updates @mui/material from 7.1.2 to 7.2.0

Release notes

Sourced from @​mui/material's releases.

v7.2.0

A big thanks to the 17 contributors who made this release possible. Here are the highlights ✨:

  • ⚡️ Added modularCssLayers theme option for splitting styles into multiple CSS layers (#46001) @​siriwatknp.
  • 📖 Added example for using Material UI with React Router v7 (#46406) @​siriwatknp.

@mui/[email protected]

@mui/[email protected]

@mui/[email protected]

@mui/[email protected]

Docs

Core

... (truncated)

Changelog

Sourced from @​mui/material's changelog.

7.2.0

Jun 26, 2025

A big thanks to the 17 contributors who made this release possible. Here are the highlights ✨:

  • ⚡️ Added modularCssLayers theme option for splitting styles into multiple CSS layers (#46001) @​siriwatknp.
  • 📖 Added example for using Material UI with React Router v7 (#46406) @​siriwatknp.

@mui/[email protected]

@mui/[email protected]

@mui/[email protected]

@mui/[email protected]

Docs

Core

... (truncated)

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 2, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/mui-5d9b011568 branch 5 times, most recently from 3827f61 to 5085e5b Compare July 3, 2025 18:00
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/mui-5d9b011568 branch from 5085e5b to a25eb0a Compare July 10, 2025 17:08
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 21, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/mui-5d9b011568 branch 5 times, most recently from fdc7c3d to 247228b Compare October 9, 2025 18:07
@casibbald
Copy link
Collaborator

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/mui-5d9b011568 branch from 23d0053 to 03c9398 Compare October 26, 2025 16:44
@casibbald casibbald force-pushed the dependabot/npm_and_yarn/mui-5d9b011568 branch from 11d868b to 6765865 Compare October 26, 2025 20:07

import (
"context"
"errors"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@erikgb Please take a look at these sync changes

package clustersmngr_test

import (
"fmt"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@erikgb Please takea look at these race confition issues

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea why this pops up now, in a FE upgrade PR?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's rather strange, and I have moved it to its own PR.
I have moved it to its own PR and I will remove it from here and see how this branch behaves

@casibbald casibbald marked this pull request as draft October 26, 2025 20:11
@casibbald
Copy link
Collaborator

I have set this to draft awating @erikgb's eyes

@casibbald casibbald requested review from Copilot and erikgb October 27, 2025 07:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the MUI (Material-UI) library from version 7.1.2 to 7.3.4, incorporating bug fixes, new features like modularCssLayers for CSS layer management, and deprecations for composed classes in OutlinedInput/Input components.

  • Updated @mui/icons-material and @mui/material from 7.1.2 to 7.3.4
  • Refactored InputProps type definition to use React.ComponentProps
  • Fixed concurrency issues in Go test files with proper synchronization primitives
  • Configured Babel plugins to stabilize CSS class generation in tests

Reviewed Changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
package.json Updated MUI packages to 7.3.4 and added @emotion/babel-plugin dependency
ui/components/Input.tsx Replaced TextFieldProps import with React.ComponentProps type utility
babel.config.json Disabled styled-components displayName/fileName and Emotion autoLabel for stable class names
babel.config.testing.json Applied same Babel configuration as production for test consistency
.nvmrc Added Node.js version specification (22.12.0)
core/server/sync_test.go Added mutex synchronization and buffered channels to fix race conditions
core/clustersmngr/factory_caches_test.go Added WaitGroup to ensure goroutine completion in concurrent test
ui/components/tests/snapshots/*.snap Updated snapshots reflecting new MUI CSS class names and structure

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 217 to 218
// Add a small delay to reduce race conditions
time.Sleep(100 * time.Millisecond)
Copy link

Copilot AI Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using time.Sleep to 'reduce race conditions' is an anti-pattern that makes tests flaky and slower. The mutex added on line 44 should be sufficient to prevent race conditions. This sleep should be removed and proper synchronization should be relied upon instead.

Suggested change
// Add a small delay to reduce race conditions
time.Sleep(100 * time.Millisecond)

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to its own pr

Comment on lines 224 to 226
// Successfully sent error
default:
done <- err
// Channel is closed or full, ignore
Copy link

Copilot AI Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment on line 226 states 'Channel is closed or full' but the channel is never explicitly closed in this code, and with a buffer size of 1, it can only be full if an error has already been sent. Silently ignoring errors in the default case could mask test failures. Consider either removing the default case to block until the error is consumed, or logging/handling the ignored error explicitly.

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to its own pr

Bumps the mui group with 2 updates: [@mui/icons-material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material) and [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material).

Updates `@mui/icons-material` from 7.1.2 to 7.2.0
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v7.2.0/packages/mui-icons-material)

Updates `@mui/material` from 7.1.2 to 7.2.0
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v7.2.0/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/icons-material"
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: mui
- dependency-name: "@mui/material"
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: mui
...

Signed-off-by: dependabot[bot] <[email protected]>
@casibbald casibbald force-pushed the dependabot/npm_and_yarn/mui-5d9b011568 branch from 6765865 to 68db1dd Compare October 27, 2025 07:55
@casibbald casibbald marked this pull request as ready for review October 27, 2025 08:11
@casibbald casibbald merged commit e695b96 into main Oct 27, 2025
16 checks passed
@casibbald casibbald deleted the dependabot/npm_and_yarn/mui-5d9b011568 branch October 27, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants